package com.javen.oauthserver.dao;

import com.javen.oauthserver.domain.SysRole;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description: com.javen.oauthserver.dao
 * @Author: tujw@netinnet.cn
 * @Date: 2023/9/19 17:06
 */
public interface RoleMapper {

    @Select("select 1 as id, 'ADMIN' as roleName ,'ADMIN' as roleDesc from dual")
    public List<SysRole> findByUid(Integer uid);

}
